package tq.com.tqstudent.bean;

import tq.com.tqstudent.R;
import tq.com.tqstudent.ui.fragment.ClassFragment;
import tq.com.tqstudent.ui.fragment.MineFragment;
import tq.com.tqstudent.ui.fragment.MsgFragment;
import tq.com.tqstudent.ui.fragment.RecodeFragment;

/**
 * @Author rames
 * @date 2019/2/27 11:43
 */
public class HomeTabs {
    public static String[] getTabsText() {
        String[] tabs = {"发布", "私信", "记录", "我的"};
        return tabs;
    }

    public static int[] getTabsImg() {
        int[] ids = {R.mipmap.icon_class_normal, R.mipmap.icon_tab_msg_normal, R.mipmap.icon_recode_normal, R.mipmap.icon_mine_normal};
        return ids;
    }

    public static int[] getTabsImgLight() {
        int[] ids = {R.mipmap.icon_class_checked, R.mipmap.icon_tab_msg_checked, R.mipmap.icon_recode_checked, R.mipmap.icon_mine_checked};
        return ids;
    }

    public static Class[] getFragments() {
        Class[] clz = {ClassFragment.class, MsgFragment.class, RecodeFragment.class, MineFragment.class};
        return clz;
    }
}
